package org.company.earth.service;

public class DemoTaskService implements ITaskService {

    private int count;
    
    public DemoTaskService(int count) {
        this.count = count;
    }
    
    @Override
    public void execute() {
        System.out.println("I'm running,count=" + count);
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
